CXX=mpic++
LIB_PATH=-L ../../lib -L $(OMD_MPI)/lib -L $(OMD_GSL)/lib
INCLUDE_PATH=-I ../../include -I $(OMD_MPI)/include -I $(OMD_GSL)/include
LIBS=-lm -lomd_object-$(shell uname -m) -lomd-$(shell uname -m)

EXE=two

all:
	$(CXX) -g -o $(EXE) $(EXE).cpp $(LIB_PATH) $(INCLUDE_PATH) $(LIBS)

clean:
	rm -rf Data.* $(EXE) $(EXE)-p mem.log run.log *.bin info.out md.out \
	machine pomd ar pt init.data
